﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace YSC_Core.BLL.Domain.CommonModels
{
    /// <summary>
    /// 分页
    /// </summary>
    public class PaginationRequest
    {
        /// <summary>
        /// 当前页
        /// </summary>
        [Required]
        public virtual int Page { get; set; } = 1;
        /// <summary>
        /// 每页显示数量
        /// </summary>
        [Required]
        public virtual int PageSize { get; set; } = 10;
    }

    public class WXModel
    {
        public string encryptedDataStr { get; set; }
        public string key { get; set; }
        public string iv { get; set; }
    }

    public class WXCode
    {
        public string session_key { get; set; }
        public string openid { get; set; }
    }

    public class YscUserWXModel
    {
        public string openId { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string nickName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string gender { get; set; }
        /// <summary>
        /// 语言
        /// </summary>
        public string language { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string country { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string avatarUrl { get; set; }
    }
}
